package com.example.skytakeoutserver.config.cpn.security

import com.example.skytakeoutserver.handler.JwtSigner
import lombok.AllArgsConstructor
import lombok.RequiredArgsConstructor
import org.springframework.security.authentication.ReactiveAuthenticationManager
import org.springframework.security.core.Authentication
import org.springframework.stereotype.Component
import reactor.core.publisher.Mono

@Component
@AllArgsConstructor
@RequiredArgsConstructor
class JwtAuthManager
    (val jwtSigner: JwtSigner) : ReactiveAuthenticationManager {
    /**
     * 重写
     */
    override fun authenticate(authentication: Authentication?): Mono<Authentication?>? {

        TODO()


    }

}